using System;
using System.IO;
using System.Collections;

namespace NCover.Objects
{
	using Utilities;

	/// <summary>
	/// Details of how and why to generate the Counter class.
	/// This class as all classes in the Objects namespace are xml serialisable.
	/// 
	/// TODO: start coverage points off from 0 not 1.
	/// </summary>
	public class Counter
	{

		/// <summary>
		/// Public constructor demanded by xml serialisation.
		/// </summary>
		public Counter()
		{
		}

		/// <summary>
		/// Public constructor demanded by xml serialisation.
		/// </summary>
		public Counter(string reportName)
		{
			ReportName = reportName;
		}

		public string PublishDirectory;

		private string _reportName;

		public string ReportName
		{
			get {
				NCover.NCoverCheck.Add(59); NCover.NCoverCheck.Add(58); NCover.NCoverCheck.Add(58); NCover.NCoverCheck.Add(58); NCover.NCoverCheck.Add(58); NCover.NCoverCheck.Add(58); NCover.NCoverCheck.Add(58); NCover.NCoverCheck.Add(58); NCover.NCoverCheck.Add(58); NCover.NCoverCheck.Add(58); NCover.NCoverCheck.Add(58); NCover.NCoverCheck.Add(58); NCover.NCoverCheck.Add(58); NCover.NCoverCheck.Add(58); return _reportName;
			}
			set {
				_reportName = value;
			}
		}
	}
}














